package com.ndp.fb.rdb.api;

import com.ndp.fb.rdb.model.PublishBatchResult;
import com.ndp.fb.rdb.model.PublishResult;

import java.util.List;

/**
 * Created by infi on 2015/1/31.
 */
public interface PublishResultRdbService {

    Long save(PublishResult obj);

    List<Long> batchSave(List<PublishResult> list);

    /**
     * 根据批次id查询结果详情
     */
    List<PublishBatchResult> searchPublishResultInfo(Long batchId);


    void batchUpdatePublishResultCount(List<PublishResult> list);

    PublishResult searchPublishResultCount(Long fbAccountId);

    void batchDel(List<Long> ids);


}
